﻿using System;

namespace Program08
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine(Add(5.5,6.1));
            Console.WriteLine("0度的正弦值：{0}", Math.Sin(0));
            Console.WriteLine("2的5次方：{0}", Math.Pow(2,5));
        }
        public static int Add(int num1, int num2)
        {
            return num1 + num2;
        }
        /// <summary>
        /// 方法的重载
        /// </summary>
        /// <param name="num1"></param>
        /// <param name="num2"></param>
        /// <returns></returns>
        public static double Add(double num1, double num2)
        {
            return num1 + num2;
        }
    }
    
}
